<!-- Begin issues/status.tpl -->
<form method="post" action="?module=suivi&action=team">
{opentable}
<tr>
<td class="sectiontableentry2" width = "30%" align="right" valign="middle">{$lg->by_team}</td>
<td class="sectiontableentry1" width = "20%">
<select name="teamid">
{if ($teamid == '')}
<option value="">(Select.)</option>
{else}
<option value="{$teamid}">{$vtext}</option>
{/if}

{if is_array($team)}
{foreach from=$team key=tid item=vtext}
{if ($tid != $teamid)}
<option value="{$tid}">{$vtext}</option>
{/if}
{/foreach}
{/if}
</select>
</td>
<td class="sectiontableentry1" colspan="2"><input type="submit" name="list" class="button" align="left" value={$lg->OK} /></td>
</tr>
</table>
</form>
<br />
{opentable}
{titlebar colspan=5 title="$title"}
<tr class="sectiontableheader" align="center">
<td width="5%"><a href="{$url}&teamid={$teamid}&sort=issueid&sens={$sens}">{$lg->ID}</a></td>
<td width="3%"><a href="{$url}&teamid={$teamid}&sort=severity&sens={$sens}">{$lg->priority}</a></td>
<td width="15%"><a href="{$url}&teamid={$teamid}&sort=gid&sens={$sens}">{$lg->group}</a></td>
<td align="left">{$lg->short_description}</td>
<td width="10%"><a href="{$url}&teamid={$teamid}&sort=assigned_to&sens={$sens}">{$lg->assigned_to}</a></td>
<td width="15%"><a href="{$url}&teamid={$teamid}&sort=ddate&sens={$sens}">{$lg->due_date}</a></td>
<td width="15%"><a href="{$url}&teamid={$teamid}&sort=due_date&sens={$sens}">{$lg->fdate}</a></td>
<td width="10%">{$lg->icost}</td>
<td width="10%"><a href="{$url}&teamid={$teamid}&sort=status&sens={$sens}">{$lg->status}</a></td>
<td width="10%">{$lg->tcost}</td>
</tr>
{if is_array($issues)}
{foreach from=$issues item=issue}
{if show_issue($issue.issueid,$issue.gid)}
<tr class="{sevrow sev=$issue.severity}" align="center">
<td>{$issue.issueid}</td>
<td >{$issue.severity}</td>
<td width="15%">{groupname id=$issue.gid}</td>
<td width="25%"><a href="?module=issues&action=view&issueid={$issue.issueid}">{$issue.objet|stripslashes}</a></td>
<td width="10%">{username id=$issue.assigned_to}</td>
<td width="15%">{$issue.ddate|userdate}</td>
<td width="10%">{$issue.fdate|userdate}</td>
<td width="5%">{$issue.icost}</td>
<td width="5%">{status id=$issue.status}</td>
<td width="5%">{$issue.tcost}</td>
</tr>
{/if}
{/foreach}
{else}
<tr class="data" align="center"><td colspan="5">{$lg->no_issue}</td></tr>
{/if}

</table>
</table>

<!-- End issues/status.tpl -->